import reduce from './util'
// 后台通用配置
export const getConfigList = (params) => {
  return reduce.post('/main/configList', params)
}
// 后台通用配置
export const matcheList = (params) => {
  return reduce.post('/matches/RecommendMatchesList', params)
}
// 图片上传
export const upImgData = (params) => {
  return reduce.post('/image/ossUpload', params)
}
// banner列表
export const bannerList = (params) => {
  return reduce.post('/banner/list', params)
}
// banner修改
export const bannerModify = (params) => {
  return reduce.post('/banner/save', params)
}
// banner删除
export const bannerDelete = (params) => {
  return reduce.post('/banner/delete', params)
}
// 会员卡列表 vipConfig/list
export const vipCardList = (params) => {
  return reduce.post('/vipConfig/list', params)
}
// 会员卡删除 vipConfig/delete
export const vipCardDelete = (params) => {
  return reduce.post('/vipConfig/delete', params)
}
// 会员卡修改 vipConfig/save
export const vipCardModify = (params) => {
  return reduce.post('/vipConfig/save', params)
}
// 专家列表 expert/list
export const expertList = (params) => {
  return reduce.post('/expert/list', params)
}
// 专家删除 expert/delete
export const expertDelete = (params) => {
  return reduce.post('/expert/delete', params)
}
// 专家修改 expert/save
export const expertModify = (params) => {
  return reduce.post('/expert/save', params)
}
// 获取关注专家的用户列表 expert/fans
export const expertFansList = (params) => {
  return reduce.post('/expert/fans', params)
}
// 新闻资讯列表 info/list
export const newsList = (params) => {
  return reduce.post('/info/list', params)
}
// 新闻资讯修改 info/save
export const newsModify = (params) => {
  return reduce.post('/info/save', params)
}
// 新闻资讯删除 info/delete
export const newsDelete = (params) => {
  return reduce.post('/info/delete', params)
}
// 选择比赛获取赔率
export const oddsData = (params) => {
  return reduce.post('/matches/getMatchesOdds', params)
}
// 新增赛事推荐
export const additionData = (params) => {
  return reduce.post('/recommend/save', params)
}
// 赛事推荐列表
export const recommendationDatalist = (params) => {
  return reduce.post('/recommend/list', params)
}
// 赛事推荐删除
export const recommendationDelete = (params) => {
  return reduce.post('/recommend/delete', params)
}
// 比赛直播增加/修改接口
export const matchesLive = (params) => {
  return reduce.post('/matchesLive/save', params)
}
// 比赛直播列表
export const matchesLiveList = (params) => {
  return reduce.post('/matchesLive/list', params)
}
// 比赛直播删除
export const matchesLiveDeleteList = (params) => {
  return reduce.post('/matchesLive/delete', params)
}
// 订单管理
export const orderList = (params) => {
  return reduce.post('/recharge/list', params)
}
// 用户管理列表
export const userList = (params) => {
  return reduce.post('/user/list', params)
}
// 会员卡用户管理
export const vipUserList = (params) => {
  return reduce.post('/user/vip_user_list', params)
}
// 会员卡赠送
export const sendVipUserList = (params) => {
  return reduce.post('/user/send_user_vip', params)
}
// 消耗订单
export const consumeOrderList = (params) => {
  return reduce.post('/order/list', params)
}
// 会员查看推荐记录
export const viewRecords = (params) => {
  return reduce.post('/recommend/vipLookList', params)
}
// 赠送用户球钻
export const sendUserMoney = (params) => {
  return reduce.post('/user/sendUserScore', params)
}
// 赠送/扣除球钻列表
export const sendUserList = (params) => {
  return reduce.post('/user/sendScoreList', params)
}
// 给用户设置备注
export const giveUsernotes = (params) => {
  return reduce.post('/user/setUserRemark', params)
}

// 选择比赛获取赔率
export const hqOddsData = (params) => {
  return reduce.post('/matches/getHqMatchesOdds', params)
}

// 火球比赛数据
export const hqMatcheList = (params) => {
  return reduce.post('/matches/HqRecommendMatchesList', params)
}

// 获取14场比赛列表
export const fourteenList = (params) => {
  return reduce.post('/fourteen/getRecommendMatches', params)
}

// 提交修改14场推荐
export const addFourteen = (params) => {
  return reduce.post('/fourteen/save', params)
}

// 14场推荐列表
export const fourteenSessions = (params) => {
  return reduce.post('/fourteen/list', params)
}

// 14场删除接口
export const fourteenDelete = (params) => {
  return reduce.post('/fourteen/delete', params)
}

// 14场推荐列表
export const fourteenMatchList = (params) => {
  return reduce.post('/fourteen/matchList', params)
}

// 14场期号列表
export const fourteenIssueList = (params) => {
  return reduce.post('/fourteen/issueList', params)
}

// 14场赛事设置火球名称
export const fourteenSetHqName = (params) => {
  return reduce.post('/fourteen/setHqName', params)
}

// 短剧消耗列表
export const shortPlayList = (params) => {
  return reduce.post('/play/list', params)
}

// ai推荐接口
export const aiPlayList = (params) => {
  return reduce.post('/Forecast/list', params)
}

// ai推荐删除接口
export const aiListDelete = (params) => {
  return reduce.post('/Forecast/delete', params)
}

// ai推荐添加和修改接口
export const aiSaveData = (params) => {
  return reduce.post('/Forecast/save', params)
}

// ai推荐会员卡
export const aiVIPcardList = (params) => {
  return reduce.post('/Membership/list', params)
}

// 修改ai会员卡
export const modifyVIP = (params) => {
  return reduce.post('/Membership/save', params)
}

// 礼物列表 Gift/list
export const giftList = (params) => {
  return reduce.post('/Gift/list', params)
}

// 删除礼物
export const giftDelete = (params) => {
  return reduce.post('/Gift/delete', params)
}

// 礼物添加和修改
export const giftSave = (params) => {
  return reduce.post('/Gift/save', params)
}

// 礼物赠送记录
export const giftRecord = (params) => {
  return reduce.post('/Gift/gift_records', params)
}

// 手动更新十四场/任九数据 Execute/fourteen
export const modifyData = (params) => {
  return reduce.get('/Execute/fourteen', params)
}

// 删除ai会员卡
export const vipDelete = (params) => {
  return reduce.post('/Membership/delete', params)
}

// 手动更新专家数据 Execute/single
export const modifyExpert = (params) => {
  return reduce.get('/Execute/single', params)
}

// 直播主播列表
export const getLiverList = (params) => {
  return reduce.post('/Live/list', params)
}

// 用户拉黑
export const getBlock = (params) => {
  return reduce.post('/user/block', params)
}

// 用户禁言
export const muteUser = (params) => {
  return reduce.post('/user/mute', params)
}

// 直播间用户拉黑/禁言
export const roomBlock = (params) => {
  return reduce.post('/Live/roomBlock', params)
}

// 直播间用户列表
export const getLiveUserList = (params) => {
  return reduce.post('/Live/userList', params)
}

export const saveFriend = (params) => {
  return reduce.post('user/saveFriend', params)
}

export const brandList = () => {
  return reduce.get('user/brandList')
}
// 添加直播权限
export const addLive = (params) => {
  return reduce.post('/Live/add', params)
}

// 取消直播权限
export const cancelLive = (params) => {
  return reduce.post('/Live/cancel', params)
}

// 历史推流记录
export const historyLive = (params) => {
  return reduce.post('/Live/history', params)
}

// 关闭直播
export const closeLive = (params) => {
  return reduce.post('/Live/stop', params)
}

// 修改直播间 Live/save
export const changSave = (params) => {
  return reduce.post('/Live/save', params)
}

// 开始直播 Live/startLive
export const startLive = (params) => {
  return reduce.post('/Live/startLive', params)
}

// 获取小黄车列表 Live/otherList
export const getLiveOtherList = (params) => {
  return reduce.post('/Live/otherList', params)
}

// 保存直播点赞数 Live/saveLike
export const saveLiveLike = (params) => {
  return reduce.post('/Live/saveLike', params)
}

// 保存直播方案/商品 Live/saveOther
export const saveLiveOther = (params) => {
  return reduce.post('/Live/saveOther', params)
}

// 直播统计列表 Live/reportList
export const getLiveReportList = (params) => {
  return reduce.post('/Live/reportList', params)
}

// 篮球寻胆爆冷列表
export const baskList = (params) => {
  return reduce.post('/BasketballForecast/list', params)
}

// 篮球寻胆爆冷列表删除
export const baskListDelete = (params) => {
  return reduce.post('/BasketballForecast/delete', params)
}

// 篮球寻胆爆冷添加和修改
export const baskListSave = (params) => {
  return reduce.post('/BasketballForecast/save', params)
}

// 获取篮球指数
export const baskListOdds = (params) => {
  return reduce.post('/BasketballForecast/getBasketballOdds', params)
}

// 更新足球赔率
export const footUpOdds = (params) => {
  return reduce.post('/Forecast/updateOdds', params)
}

// 更新篮球赔率
export const baskUpOdds = (params) => {
  return reduce.post('/BasketballForecast/updateOdds', params)
}

// 更新篮球赔率1
export const updateOdds = (params) => {
  return reduce.post('/BasketballForecast/saveOdds', params)
}

// 更新足球赔率1
export const updateOdds1 = (params) => {
  return reduce.post('/Forecast/saveOdds', params)
}

// 优惠券列表

export const getYhqList = (params) => {
  return reduce.post('/Coupon/list', params)
}

// 优惠券修改
export const updateYhq = (data) => {
  return reduce.post('/Coupon/save', data)
}

// 签到奖励列表

export const getSignList = (data) => {
  return reduce.post('/Sign/list', data)
}

export const putSign = (data) => {
  return reduce.post('/Sign/save', data)
}

export const getSignListHistory = (data) => {
  return reduce.post('/Sign/record', data)
}

export const getCounponRecordList = (data) => {
  return reduce.post('/Coupon/record', data)
}

export const sendGiftCoupon = (data) => {
  return reduce.post('/Coupon/gift_coupon', data)
}

export const sendGiftCard = (data) => {
  return reduce.post('/Membership/gift_card', data)
}

export const sendGiftPrediction = (data) => {
  return reduce.post('/Prediction/gift_card', data)
}

export const getPredictionList = (data) => {
  return reduce.post('/Prediction/list', data)
}

export const automaticList = (data) => {
  return reduce.post('/Automatic/list', data)
}

export const addAndEditAutomatic = (data) => {
  return reduce.post('Automatic/save', data)
}

export const removeEditAutomatic = (data) => {
  return reduce.post('Automatic/delete', data)
}

export const aimodelList = (data) => {
  return reduce.post('BrowseForecast/list', data)
}

export const getDrawHistory = (data) => {
  return reduce.get(`prizes/record?mobile=${data.mobile}&page=${data.page}&prize_type=${data.prize_type}`)
}

export const setDrawStatus = (data) => {
  return reduce.post(`prizes/status_save`, data)
}
export const getDrawNumber = (data) => {
  return reduce.get(`prizes/limits?page=${data.page}&mobile=${data.mobile}`)
}

export const setDrawNumber = (data) => {
  return reduce.post(`prizes/save_limits`, data)
}

export const getPrizeList = (data) => {
  return reduce.get(`prizes/list`, data)
}

export const getUserAddress = (data) => {
  return reduce.get(`user/user_address?mobile=${data.mobile}`)
}

export const categoryList = (data) => {
  return reduce.get(`category/list`)
}

export const categorySave = (data) => {
  return reduce.post(`category/save`, data)
}

export const getScOrderList = (data) => {
  return reduce.get(`shoporder/list`, data)
}

export const setScOrdersave = (data) => {
  return reduce.post(`shoporder/save`, data)
}

export const getShoopStoreList = (data) => {
  return reduce.get(`product/list`, data)
}

export const getShoopSkuList = (data) => {
  return reduce.get(`sku/list`, data)
}

export const setShoopSku = (data) => {
  return reduce.post(`sku/save`, data)
}

export const delShoopSku = (data) => {
  return reduce.post(`sku/delete`, data)
}

export const getStoreGuigeList = (data) => {
  return reduce.get(`specification/list`, data)
}

export const setStoreGuigeSave = (data) => {
  return reduce.post(`specification/save`, data)
}

export const delStoreGuigeSave = (data) => {
  return reduce.post(`specification/delete`, data)
}

export const setShangpingInfo = (data) => {
  return reduce.post(`product/save`, data)
}

export const shopserviceList = (data) => {
  return reduce.get(`shopservice/list`, data)
}

export const shopserviceSave = (data) => {
  return reduce.post(`shopservice/save`, data)
}

export const shopingSiwper = (data) => {
  return reduce.post(`shopbanner/list`, data)
}

export const shopingSiwperEdit = (data) => {
  return reduce.post(`shopbanner/save`, data)
}

export const shopingSiwperDel = (data) => {
  return reduce.post(`shopbanner/delete`, data)
}

export const shopinglogistics = (data) => {
  return reduce.post(`shopservice/logistics`, data)
}

export const precautionList = (data) => {
  return reduce.get(`precaution/list`)
}

export const precautionListSave = (data) => {
  return reduce.post(`precaution/save`, data)
}

export const precautionDelete = (data) => {
  return reduce.post(`precaution/delete`, data)
}

export const activityList = (data) => {
  return reduce.get(`activity/list`, data)
}

export const activitySave = (data) => {
  return reduce.post(`activity/save`, data)
}

export const activityDetlete = (data) => {
  return reduce.post(`activity/delete`, data)
}

export const getAiMatchList = (data) => {
  return reduce.get(`aimatch/list`, data)
}

export const matchAdd = (data) => {
  return reduce.post(`aimatch/add`, data)
}

// 批次列表接口

export const piciAdd = (data) => {
  return reduce.post(`aibatch/add`, data)
}

export const piciList = (data) => {
  return reduce.get(`aibatch/list`, data)
}

export const piciDel = (data) => {
  return reduce.post(`aibatch/delete`, data)
}

export const zhuanjiaList = (data) => {
  return reduce.get(`aiexpert/list`, data)
}

export const zhuanjiaInfo = (data) => {
  return reduce.get(`aiexpert/detail`, data)
}

export const zhuanjiaSave = (data) => {
  return reduce.post(`aiexpert/save`, data)
}

export const deleteExpert = (data) => {
  return reduce.post(`aiexpert/delete`, data)
}

export const aiRecommendList = (data) => {
  return reduce.get(`airecommend/list`, data)
}

export const aiRecommendDelete = (data) => {
  return reduce.post(`airecommend/delete`, data)
}

export const aiRecommendreview = (data) => {
  return reduce.post(`airecommend/review`, data)
}

// AI方案审核接口
export const aiRecommendAudit = (data) => {
  return reduce.post(`airecommend/audit`, data)
}

// 小球动作列表
export const getActionList = (params) => {
  return reduce.post('/action/list', params)
}

// 小球动作保存/修改
export const saveAction = (params) => {
  return reduce.post('/action/save', params)
}

// 小球动作删除
export const deleteAction = (params) => {
  return reduce.post('/action/delete', params)
}

